package cn.java79.springboot.zsb.service;

import cn.java79.springboot.zsb.dao.*;
import cn.java79.springboot.zsb.entity.*;
import cn.java79.springboot.zsb.util.StrUtil;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

//@Transactional
public interface UserService extends IService<User> {
    List<User> search(String sname, String phone, String school);

    Page<User> search(String name, String phone ,String school,int pageNo,int pageSize);

    boolean checkPhone(Long id ,String phone);

    boolean updatePass(Long id, String newPass);
}
